package com.machine.filling.net.ws.response;

/**
 * Created by sperfan on 2018/3/2.
 *
 * @描述: 获取油卡信息 解析bean
 */

public class WsResCardInfoBean extends BaseWsResponseBean {


    /**
     * pointAmount : 0
     * cardLevel : 0
     * type : 2
     * cardNum : 100000034
     * balance : 22
     * phone : 133****2121
     * name : 测***
     * gunId : null
     * id : 7
     * state : 1
     * pwd : 96E79218965EB72C92A549DD5A330112
     */
    /**
     * 油卡积分
     */
    private String pointAmount;
    /**
     * 油卡等级
     */
    private String cardLevel;
    /**
     * 卡类型  1用户的加油卡 2员工卡
     */
    private String type;
    /**
     * 卡号
     */
    private String cardNum;
    /**
     * 卡内余额
     */
    private String balance;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 姓名
     */
    private String name;
    /**
     * 油枪id
     */
    private String gunId;
    /**
     * 油卡id
     */
    private String id;
    /**
     * 卡状态  1整除 2冻结
     */
    private String state;
    /**
     * 卡密码
     */
    private String pwd;
    /**
     * 折扣
     */
    private String cardDiscount;

    public String getCardDiscount() {
        return cardDiscount == null ? "0" : cardDiscount;
    }

    public void setCardDiscount(String cardDiscount) {
        this.cardDiscount = cardDiscount;
    }

    public String getPointAmount() {
        return pointAmount;
    }

    public void setPointAmount(String pointAmount) {
        this.pointAmount = pointAmount;
    }

    public String getCardLevel() {
        return cardLevel;
    }

    public void setCardLevel(String cardLevel) {
        this.cardLevel = cardLevel;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGunId() {
        return gunId;
    }

    public void setGunId(String gunId) {
        this.gunId = gunId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
